package com.pj.wisdomlogistics.mvp.model;


import com.pj.wisdomlogistics.entity.CarPoritionInfo;
import com.pj.wisdomlogistics.entity.response.BaseResponse;
import com.pj.wisdomlogistics.mvp.frame.MvpModel;

import rx.Observable;


public class CarFreeModel extends MvpModel {
    public Observable<BaseResponse<CarPoritionInfo>> submitCarApply() {
        return mApiService.findCarAndDriver();
    }

    public Observable<BaseResponse>  updateCarState(int carID , int state){
        return mApiService.updateCarState(carID , state);
    }

}
